[INFO] fetching crate oxidite-middleware 2.0.1...
[INFO] testing oxidite-middleware-2.0.1 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate oxidite-middleware 2.0.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate oxidite-middleware 2.0.1
[INFO] finished tweaking crates.io crate oxidite-middleware 2.0.1
[INFO] tweaked toml for crates.io crate oxidite-middleware 2.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate oxidite-middleware 2.0.1 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate oxidite-middleware 2.0.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d90c15683e6ba703397edcd7bb784a6cebc98779368e72c498c42820be0602c
[INFO] running `Command { std: "docker" "start" "-a" "8d90c15683e6ba703397edcd7bb784a6cebc98779368e72c498c42820be0602c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d90c15683e6ba703397edcd7bb784a6cebc98779368e72c498c42820be0602c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d90c15683e6ba703397edcd7bb784a6cebc98779368e72c498c42820be0602c", kill_on_drop: false }`
[INFO] [stdout] 8d90c15683e6ba703397edcd7bb784a6cebc98779368e72c498c42820be0602c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ffd84d0b98493878b3b21bbec6552b144b54434efd4be7fdadc5a710574bd690
[INFO] running `Command { std: "docker" "start" "-a" "ffd84d0b98493878b3b21bbec6552b144b54434efd4be7fdadc5a710574bd690", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zmij v1.0.16
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling base64ct v1.8.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling aws-lc-rs v1.15.3
[INFO] [stderr]    Compiling num-bigint-dig v0.8.6
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling cc v1.2.53
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling quinn-udp v0.5.14
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling quinn v0.11.9
[INFO] [stderr]    Compiling time-core v0.1.7
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling lru-slab v0.1.2
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling time-macros v0.2.25
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling hdrhistogram v7.5.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling flate2 v1.1.8
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling compression-core v0.4.31
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling aws-lc-sys v0.36.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling fastbloom v0.14.1
[INFO] [stderr]    Compiling time v0.3.45
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling http-range-header v0.4.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling oxidite-macros v2.0.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling compression-codecs v0.4.36
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling rsa v0.9.10
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]    Compiling sqlx-mysql v0.8.6
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling h3 v0.0.8
[INFO] [stderr]    Compiling async-compression v0.4.37
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]    Compiling hyper-util v0.1.19
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling sqlx v0.8.6
[INFO] [stderr]    Compiling oxidite-db v2.0.1
[INFO] [stderr]    Compiling rustls-platform-verifier v0.6.2
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling quinn-proto v0.11.13
[INFO] [stderr]    Compiling h3-quinn v0.0.10
[INFO] [stderr]    Compiling oxidite-core v2.0.1
[INFO] [stderr]    Compiling oxidite-middleware v2.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/cache.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `RwLock`
[INFO] [stdout]  --> src/cache.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]  --> src/cache.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::{Duration, SystemTime};
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Response`
[INFO] [stdout]  --> src/cache.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::{Request, Response, Method};
[INFO] [stdout]   |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http_body_util::Full`
[INFO] [stdout]  --> src/cache.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use http_body_util::Full;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/cache.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/cache.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]   --> src/cache.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/cache.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct CacheMiddleware<S> {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 67 |     inner: S,
[INFO] [stdout] 68 |     config: CacheConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `should_cache_method` is never used
[INFO] [stdout]   --> src/cache.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl<S> CacheMiddleware<S> {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] 72 |     fn should_cache_method(&self, method: &Method) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s
[INFO] running `Command { std: "docker" "inspect" "ffd84d0b98493878b3b21bbec6552b144b54434efd4be7fdadc5a710574bd690", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffd84d0b98493878b3b21bbec6552b144b54434efd4be7fdadc5a710574bd690", kill_on_drop: false }`
[INFO] [stdout] ffd84d0b98493878b3b21bbec6552b144b54434efd4be7fdadc5a710574bd690
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ebd5b67e3c57e24236a3c531c15e83b738a133a4c61c9b9f0fc34e1017a07df
[INFO] running `Command { std: "docker" "start" "-a" "7ebd5b67e3c57e24236a3c531c15e83b738a133a4c61c9b9f0fc34e1017a07df", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/cache.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `RwLock`
[INFO] [stdout]  --> src/cache.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]  --> src/cache.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::{Duration, SystemTime};
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Response`
[INFO] [stdout]  --> src/cache.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use http::{Request, Response, Method};
[INFO] [stdout]   |                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http_body_util::Full`
[INFO] [stdout]  --> src/cache.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use http_body_util::Full;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/cache.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/cache.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]   --> src/cache.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling oxidite-middleware v2.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> src/cache.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct CacheMiddleware<S> {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 67 |     inner: S,
[INFO] [stdout] 68 |     config: CacheConfig,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `should_cache_method` is never used
[INFO] [stdout]   --> src/cache.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl<S> CacheMiddleware<S> {
[INFO] [stdout]    | -------------------------- method in this implementation
[INFO] [stdout] 72 |     fn should_cache_method(&self, method: &Method) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/cache.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc` and `RwLock`
[INFO] [stdout]  --> src/cache.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                 ^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]  --> src/cache.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::{Duration, SystemTime};
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `http_body_util::Full`
[INFO] [stdout]  --> src/cache.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use http_body_util::Full;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/cache.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::future::Future`
[INFO] [stdout]  --> src/cache.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::future::Future;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::pin::Pin`
[INFO] [stdout]   --> src/cache.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `ready` exists for struct `CacheMiddleware<ServiceFn<{closure@src/cache.rs:156:37: 156:60}>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/cache.rs:169:32
[INFO] [stdout]     |
[INFO] [stdout]  66 | pub struct CacheMiddleware<S> {
[INFO] [stdout]     | ----------------------------- method `ready` not found for this struct because it doesn't satisfy `_: Service<_>` or `_: ServiceExt<_>`
[INFO] [stdout] ...
[INFO] [stdout] 169 |         let resp1 = cached_svc.ready().await.unwrap().call(req1).await.unwrap();
[INFO] [stdout]     |                                ^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `CacheMiddleware<ServiceFn<{closure@src/cache.rs:156:37: 156:60}>>: Service<_>`
[INFO] [stdout]             which is required by `CacheMiddleware<ServiceFn<{closure@src/cache.rs:156:37: 156:60}>>: tower::ServiceExt<_>`
[INFO] [stdout] note: the trait `Service` must be implemented
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-service-0.3.3/src/lib.rs:311:1
[INFO] [stdout]     |
[INFO] [stdout] 311 | pub trait Service<Request> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `ready`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `tower::ServiceExt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `ready` exists for struct `CacheMiddleware<ServiceFn<{closure@src/cache.rs:156:37: 156:60}>>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/cache.rs:174:32
[INFO] [stdout]     |
[INFO] [stdout]  66 | pub struct CacheMiddleware<S> {
[INFO] [stdout]     | ----------------------------- method `ready` not found for this struct because it doesn't satisfy `_: Service<_>` or `_: ServiceExt<_>`
[INFO] [stdout] ...
[INFO] [stdout] 174 |         let resp2 = cached_svc.ready().await.unwrap().call(req2).await.unwrap();
[INFO] [stdout]     |                                ^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `CacheMiddleware<ServiceFn<{closure@src/cache.rs:156:37: 156:60}>>: Service<_>`
[INFO] [stdout]             which is required by `CacheMiddleware<ServiceFn<{closure@src/cache.rs:156:37: 156:60}>>: tower::ServiceExt<_>`
[INFO] [stdout] note: the trait `Service` must be implemented
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tower-service-0.3.3/src/lib.rs:311:1
[INFO] [stdout]     |
[INFO] [stdout] 311 | pub trait Service<Request> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `ready`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `tower::ServiceExt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `oxidite-middleware` (lib test) due to 2 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7ebd5b67e3c57e24236a3c531c15e83b738a133a4c61c9b9f0fc34e1017a07df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ebd5b67e3c57e24236a3c531c15e83b738a133a4c61c9b9f0fc34e1017a07df", kill_on_drop: false }`
[INFO] [stdout] 7ebd5b67e3c57e24236a3c531c15e83b738a133a4c61c9b9f0fc34e1017a07df
